package com.boarsoft.boar.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.boarsoft.boar.app.AppBiz;
import com.boarsoft.boar.entity.AppInfo;

@Component("appService")
public class AppServiceImpl implements AppService {
	public static final Logger log = LoggerFactory.getLogger(AppServiceImpl.class);

	@Autowired
	protected AppBiz appBiz;

	@Override
	public String getHandler(String id) {
		AppInfo a = appBiz.get(id);
		return a.getHandler();
	}
}